<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="cache-control" content="no-cache">
<title>Reflex::Rule Struct Reference</title>
<link href="doxygen_tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="doxygen_content.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="top">
 <div id="titlearea">
  <table height="72px" width="100%" cellspacing="0" cellpadding="0">
   <tbody>
    <tr>
     <td width="10%">&nbsp;</td>
     <td><a href="https://github.com/Genivia/RE-flex"><img src="reflex-logo.png"/></a></td>
     <td>
      <div style="float: right; font-size: 18px; font-weight: bold;">Reflex::Rule Struct Reference</div>
      <br>
      <div style="float: right; font-size: 10px;">updated Thu May 14 2020 by Robert van Engelen</div>
     </td>
     <td width="10%">&nbsp;</td>
    </tr>
   </tbody>
  </table>
 </div>
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="class_reflex.html">Reflex</a></li><li class="navelem"><a class="el" href="struct_reflex_1_1_rule.html">Rule</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_reflex_1_1_rule-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Reflex::Rule Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A regex pattern and action pair that forms a rule.  
 <a href="struct_reflex_1_1_rule.html#details">More...</a></p>

<p><code>#include &lt;reflex.h&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Reflex::Rule:</div>
<div class="dyncontent">
<div class="center"><img src="struct_reflex_1_1_rule__coll__graph.png" border="0" usemap="#_reflex_1_1_rule_coll__map" alt="Collaboration graph"/></div>
<map name="_reflex_1_1_rule_coll__map" id="_reflex_1_1_rule_coll__map">
<area shape="rect" id="node2" title="STL class. " alt="" coords="29,96,109,123"/>
<area shape="rect" id="node4" href="struct_reflex_1_1_code.html" title="Line of code fragment in lex specifications. " alt="" coords="109,200,207,227"/>
<area shape="rect" id="node3" title="STL class. " alt="" coords="5,5,132,47"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6413dc535b5b92a976d8041b2b6cdabe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_reflex_1_1_rule.html#a6413dc535b5b92a976d8041b2b6cdabe">Rule</a> (const std::string &amp;<a class="el" href="struct_reflex_1_1_rule.html#a4cfafb561364c1d64961561354ce5dc9">regex</a>, const <a class="el" href="struct_reflex_1_1_code.html">Code</a> &amp;<a class="el" href="struct_reflex_1_1_rule.html#a8b6023b0e1409685a2eaea0948c4c56a">code</a>)</td></tr>
<tr class="separator:a6413dc535b5b92a976d8041b2b6cdabe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a4cfafb561364c1d64961561354ce5dc9"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_reflex_1_1_rule.html#a4cfafb561364c1d64961561354ce5dc9">regex</a></td></tr>
<tr class="separator:a4cfafb561364c1d64961561354ce5dc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b6023b0e1409685a2eaea0948c4c56a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_reflex_1_1_code.html">Code</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_reflex_1_1_rule.html#a8b6023b0e1409685a2eaea0948c4c56a">code</a></td></tr>
<tr class="separator:a8b6023b0e1409685a2eaea0948c4c56a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A regex pattern and action pair that forms a rule. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a6413dc535b5b92a976d8041b2b6cdabe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Reflex::Rule::Rule </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>regex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_reflex_1_1_code.html">Code</a> &amp;&#160;</td>
          <td class="paramname"><em>code</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a8b6023b0e1409685a2eaea0948c4c56a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_reflex_1_1_code.html">Code</a> Reflex::Rule::code</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a4cfafb561364c1d64961561354ce5dc9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Reflex::Rule::regex</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="reflex_8h.html">reflex.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer">
<address class="footer"><small>
Converted on Thu May 14 2020 13:20:13 by <a target="_blank" href="http://www.doxygen.org/index.html">Doxygen</a> 1.8.11</small></address>
<br>
<div style="height: 246px; background: #DBDBDB;">
</body>
</html>
